package gui_classes;

import javax.swing.JPanel;

import domain.*;

public class AdminPage extends DERPBase {
	
	private AdminPanel apanel;

	/**
	 * Create the panel.
	 */
	public AdminPage(SystemAdministrator sas) {

		setPrevious(GUI_Main.lpanel);
		
		apanel = new AdminPanel(sas);
		add(apanel);
		
	}
	
	public void display()
	{
		GUI_Main.replacePanel(this);
	}

}
